Skip to content

Improve Example for TypeScript Property Annotation #1121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

gamperl
Copy link
Contributor

@gamperl gamperl commented Jul 2, 2021

Description of Problem

In the Annotating Props section of the chapter Typescript Support, it is not clear how to annotate a property with any or a union type.

Proposed Solution

Extend the example with a union type property and an any property.

Additional Information

Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gamperl thank you for the addition!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants